//
//  ICPubMenuView.h
//  ICome
//
//  Created by zhangrongwu on 2016/11/22.
//  Copyright © 2016年 iCom. All rights reserved.
//  公众号下方菜单

#import "LCBMessageCell.h"
#import "ICPubItemModel.h"
#import "ICPubSubItemModel.h"
@class ICPubMenuView;
@class ICPubMenuViewTabelViewCell;
@protocol ICPubMenuViewDelegate <NSObject>
@optional

- (void)clickItemURL:(NSString *)url;

- (void)selectedUpMenuItemAtIndex:(NSInteger)upItemIndex bottomIndex:(NSInteger)bottomIndex;

@end

@interface ICPubMenuView : LCBMessageCell

@property (nonatomic, strong)NSMutableArray<ICPubItemModel *> *bottomItems;

- (instancetype)initWithDisplayView:(UIView *)displayView;

- (void)showPubMenu; // 显示菜单

- (void)hiddenItemTable; // 隐藏tableview

@property (nonatomic, weak)id <ICPubMenuViewDelegate>delegate;

@end



@interface ICPubMenuViewTabelViewCell : UITableViewCell
@property (nonatomic, strong)UILabel *titleLabel;
@end







